package com.chinasofti.zbest.service;

import com.chinasofti.zbest.dao.model.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chinasofti.zbest.service.info.UserModifyInformationInfo;
import com.chinasofti.zbest.web.form.ModifyUserInformationForm;
import com.chinasofti.zbest.web.form.RegForm;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author zbest
 * @since 2019-05-28
 */
public interface IUserService extends IService<User> {
    void add(RegForm user);
    User login(String username,String password);
    void modifypass(String  username,String newpassword);
    void updateUserInformation(UserModifyInformationInfo user);
}
